

import 'package:flutter/material.dart';

class GetMaterialAppWidget extends StatefulWidget {
  final Widget child;

  const GetMaterialAppWidget({super.key, required this.child});

  @override
  State<GetMaterialAppWidget> createState() => _GetMaterialAppWidgetState();
}

class _GetMaterialAppWidgetState extends State<GetMaterialAppWidget> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'AquaPlunge',
      initialRoute: '/',
      routes: {'/': (BuildContext context) => widget.child},
    );
  }
}